package com.itzyf.pokemondata.bean;

import org.litepal.crud.LitePalSupport;

import java.util.Date;

/**
 * @author 依风听雨
 * @version 创建时间：2019/01/23 14:23
 */
public class DbExclusive extends LitePalSupport {
    private Date createdAt;
    private String effect;
    private int hp;
    private boolean invalid;
    private String name;
    private String objectId;
    private int pa;
    private int pd;
    private String pokemonName;
    private int sa;
    private int sd;
    private int speed;
    private Date updatedAt;
    private long id;

    public DbExclusive() {

    }

    public DbExclusive(Date createdAt, String effect, int hp, boolean invalid, String name, String objectId,
                       int pa, int pd, String pokemonName, int sa, int sd, int speed, Date updatedAt) {
        this.createdAt = createdAt;
        this.effect = effect;
        this.hp = hp;
        this.invalid = invalid;
        this.name = name;
        this.objectId = objectId;
        this.pa = pa;
        this.pd = pd;
        this.pokemonName = pokemonName;
        this.sa = sa;
        this.sd = sd;
        this.speed = speed;
        this.updatedAt = updatedAt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getEffect() {
        return effect == null ? "" : effect;
    }

    public void setEffect(String effect) {
        this.effect = effect;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public boolean isInvalid() {
        return invalid;
    }

    public void setInvalid(boolean invalid) {
        this.invalid = invalid;
    }

    public String getName() {
        return name == null ? "" : name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getObjectId() {
        return objectId == null ? "" : objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public int getPa() {
        return pa;
    }

    public void setPa(int pa) {
        this.pa = pa;
    }

    public int getPd() {
        return pd;
    }

    public void setPd(int pd) {
        this.pd = pd;
    }

    public String getPokemonName() {
        return pokemonName == null ? "" : pokemonName;
    }

    public void setPokemonName(String pokemonName) {
        this.pokemonName = pokemonName;
    }

    public int getSa() {
        return sa;
    }

    public void setSa(int sa) {
        this.sa = sa;
    }

    public int getSd() {
        return sd;
    }

    public void setSd(int sd) {
        this.sd = sd;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
}
